package com.chainyoung.component_tmperson.ui.mvp.contract;

import com.chainyoung.common.mvp.IModel;
import com.chainyoung.common.mvp.IView;
import com.chainyoung.component_tmperson.entity.PreRepayment;
import com.chainyoung.component_tmperson.entity.WalletDebit;

import java.util.List;
import java.util.TreeMap;

import io.reactivex.Flowable;

public interface ConfirmRepayContract {

    interface View extends IView {



        void onGetPreRepaymentInfo(PreRepayment data);

        void onGetPreRepaymentFailed();

        void onConfirmRepaySuccess(String data);



    }

    interface Model extends IModel {



        Flowable<PreRepayment> getPreRepaymentInfo(TreeMap<String,Object> map);

        Flowable<String> confirmRepay(TreeMap<String,Object> map);


    }


}
